-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement more C23 changes #535
Conversation
src/Diagnostics.zig
Outdated
const opt = "deprecated-non-prototype"; | ||
}; | ||
pub const passing_args_to_kr = struct { | ||
const msg = "passing arguments to without a prototype is deprecated in all versions of C and is not supported in C2x"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a small typo in the error message - s/to without/to a function without/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like I copied Clang's bugs too. Never mind it was my fault for removing the function name from the error. Thanks, fixed.
No description provided.